home *** CD-ROM | disk | FTP | other *** search
/ PC World Komputer 1997 February / PCWK0297.iso / lotus / english / lotus034.dsk / DMOSMPL1.APR / SCRIPT / ApproachDoc / Video Library / Body / ObjButton1.s (.txt) < prev    next >
Null Bytes Alternating  |  1995-10-26  |  2KB  |  35 lines

  1. '++LotusScript Development Environment:2:5:(Options):0:66
  2.  
  3. '++LotusScript Development Environment:2:5:(Forward):0:1
  4. Declare Sub Click(Source As Button, X As Long, Y As Long, Flags As Long)
  5.  
  6. '++LotusScript Development Environment:2:5:(Declarations):0:2
  7.  
  8. '++LotusScript Development Environment:2:2:BindEvents:1:129
  9. Private Sub BindEvents(Byval Objectname_ As String)
  10.     Static Source As BUTTON
  11.     Set Source = Bind(Objectname_)
  12.     On Event Click From Source Call Click
  13. End Sub
  14.  
  15. '++LotusScript Development Environment:2:2:Click:1:12
  16. Sub Click(Source As Button, X As Long, Y As Long, Flags As Long)
  17.     If source.subject.visible=False Then
  18.         source.director.visible=True
  19.         source.subject.visible=True
  20.         source.date~ purch~ recorded.visible=True
  21.         source.note.visible=True
  22.         source.format.visible=True
  23.         source.length.visible=True
  24.         source.year~ released.visible=True
  25.     Else
  26.         source.director.visible=False
  27.         source.subject.visible=False
  28.         source.subject.visible=False
  29.         source.date~ purch~ recorded.visible=False
  30.         source.note.visible=False
  31.         source.format.visible=False
  32.         source.length.visible=False
  33.         source.year~ released.visible=False
  34.     End If
  35. End Sub